<div class="container">
	<ol class="breadcrumb">
		<li><?php echo anchor('', 'Início'); ?></li>
		<li><?php echo anchor('parasuaempresa', 'Para Sua Empresa'); ?></li>
		<li><?php echo anchor('parasuaempresa/cardapio', 'Cardápio'); ?></li>
		<li class="active"><?php echo $page_title; ?></li>
	</ol>
</div>

<div class="container">

	<div class="row">
		<?php $this->load->view('parasuaempresa/_sidebar'); ?>

		<div class="col-lg-9 col-md-9">			
			<h3 class="titulos"><?php echo $page_title; ?></h3>

			<?php
				if(!empty($formMessage)){
					$cssOptions = array('alert-danger', 'alert-warning', 'alert-success');
					$cssAlert = $cssOptions[$formMessage[0]-1];
			?>
			<div class="alert <?php echo $cssAlert; ?>">
				<?php echo $formMessage[1]; ?>
			</div>
			<?php
				}
			?>

			<?php 
				$hidden = array('datetime' => date('Ymdhmi'));
				$attributes = array("role"=>"form", "id"=>"form_categoria");
				echo form_open($form_action, $attributes, $hidden); 
			?>

			<div class="form-group">
				<label for="desc_categoria">Descrição da categoria (Ex: Pizzas Doces, Pizzas especiais, Bebidas)</label>
				<?php echo form_input(array('name'=>'desc_categoria','id'=>'desc_categoria','class'=>'form-control', 'value' => isset($formData['desc_categoria']) ? $formData['desc_categoria'] : '')); ?>
			</div>

			<div class="form-group">
				<div class="text-right">
					<a href="<?php echo site_url('parasuaempresa/cardapio'); ?>" class="btn btn-default"> 
						<span class="glyphicon glyphicon-chevron-left"></span>	Voltar
					</a>

					<button type="submit" class="btn btn-primary">
						<span class="glyphicon glyphicon-ok-circle"></span> Salvar
					</button>
				</div>
			</div>

			<?php
				echo form_close();
			?>

		</div>

	</div>
</div>